projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84841dd
)
(internal_self_insert): If C has modifier bits, insert
author
Kenichi Handa
<handa@m17n.org>
Thu, 26 Nov 1998 08:12:12 +0000
(08:12 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 26 Nov 1998 08:12:12 +0000
(08:12 +0000)
appropriate one byte char.
src/cmds.c
patch
|
blob
|
history
diff --git
a/src/cmds.c
b/src/cmds.c
index c6a94b1f3b8b446338e872fa901895c6d3b3e57f..c1f92c745f67f066e46d82c32c0cbaa5bffdde04 100644
(file)
--- a/
src/cmds.c
+++ b/
src/cmds.c
@@
-354,6
+354,10
@@
internal_self_insert (c, noautofill)
{
c = unibyte_char_to_multibyte (c);
len = CHAR_STRING (c, workbuf, str);
+ if (len == 1)
+ /* If C has modifier bits, this makes C an appropriate
+ one-byte char. */
+ c = *str;
}
else
{